InspireLabs\WoocommerceInpost\EasyPack_API C

Total Complexity 120
Dependencies 3
Dependents 17
Total lines 817
Lines of code 499
Logical lines of code 235
Comment lines 143
Methods 40
Properties 6

Methods 40

Method Rating Maintainability Complexity Lines of code
get()
B
37 20 74
post()
A
41 14 57
delete()
A
42 14 51
make_api_url()
A
49 9 32
get_error_recursive()
S
52 7 24
validate_phone()
S
57 5 18
get_organization()
S
59 5 13
setupEnvironment()
S
57 4 19
ping()
S
57 4 15
translate_error()
S
47 2 36
getServicesGlobal()
S
66 3 8
EasyPack_API()
S
71 2 6
is_binary_response()
S
66 2 8
authorizationError()
S
65 2 8
customer_shipments_labels()
S
62 2 10
addToLog()
S
60 1 14
customer_shipments_return_labels()
S
61 1 13
dispatch_order_pdf()
S
62 1 12
__construct()
S
76 1 4
normalize_country_code_for_geowidget()
S
80 1 3
normalize_country_code_for_inpost()
S
80 1 3
is_sandbox_env()
S
80 1 3
is_production_env()
S
80 1 3
is_uk()
S
80 1 3
is_pl()
S
80 1 3
clear_cache()
S
76 1 4
get_error()
S
79 1 3
put()
S
79 1 3
dispatch_point()
S
79 1 3
dispatch_order()
S
72 1 5
customer_parcel_create()
S
72 1 5
customer_parcel_get_by_id()
S
75 1 4
get_statuses()
S
76 1 4
customer_parcel_cancel()
S
75 1 4
customer_parcel_pay()
S
72 1 5
customer_parcel_sticker()
S
77 1 3
customer_parcel()
S
73 1 5
api_country()
S
81 1 3
calculate_shipments()
S
72 1 5
getCountry()
S
82 1 3